#ifndef FILEUSE_H
#define FILEUSE_H
#include "articlestruct.h"
#include <QFile>
#include <QStringList>
#include <QTextStream>
#include <QXmlStreamReader>


class fileuse
{
public:
    fileuse();
   // fileuse(QString _fileName);

public:
//    void setFileName(QString _fileName);
    void writeXML(QList<ArticleStruct> artStructList, QString fileName);
//    ArticleStruct readXML();
    QList<ArticleStruct> readXML(QString fileName);

//private:
//    QString fileName;

};

#endif // FILEUSE_H
